import { requestToken } from '@/utils/request.js'

// 查询计划列表
export const planList = (data) => {
    return requestToken('/plan/queryList', data)
}

// 添加计划 /plan/saveSingle
export const addPlan = (data) => {
    return requestToken('/plan/saveSingle', data)
}

// 计划详情页 /plan/querySingle
export const planDetail = (data) => {
    return requestToken('/plan/querySingle', data)
}

// 计划编辑 /plan/updateSingle
export const planUpadate = (data) => {
    return requestToken('/plan/updateSingle', data)
}
// 计划删除 /plan/deleteSingle
export const planDelete = (data) => {
    return requestToken('/plan/deleteSingle', data)
}

